home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSITION
/
DENTAS1.LZH
/
DENTL-A4.EXE
/
DENTIST.ACS
/
SOURCE.DOC
< prev
next >
Wrap
Text File
|
1992-03-27
|
7KB
|
175 lines
SourceMatσ [TM▌ Custome≥ Filσ Menu
Overview:
Thi≤ optioε wil∞ creatσ record≤ iε thσ SourceMatσ [TM▌ Custome≥ Filσ forma⌠ ì
anΣá theεá appenΣ theφ t∩ thσ SourceMatσ [TM▌ Custome≥ filσ iε thσá \SOURC┼ ì
subdirector∙ anΣ drivσ oµ you≥ choice.
Optionally¼á yo⌡á caεá ß selec⌠ additiona∞ selectioε criterißá specifiπá t∩ ì
SourceMatσ [TM].
Oncσá thσá ne≈ record≤ froφ thi≤ prograφ arσ appendeΣ int∩á thσá SourceMatσ ì
[TM▌á Custome≥ file¼á yo⌡ mus⌠ reinde° thosσ file≤ withiε SourceMatσá [TM]« ì
T∩ d∩ this¼ brinτ u≡ thσ Maiε Men⌡ oµ Account≤ Receivable¼ versioε 2.0.
Iε Account≤ Receivable¼á pres≤ 'F8º t∩ g∩ t∩ Miscellaneous«á Oncσ iεá thσ ì
Miscellaneou≤á options¼á chosσá #│ t∩ 'Recove≥ Inde° Files.ºá Afte≥á that¼ ì
selec⌠ optioε ╢ t∩ reinde° thσ custome≥ file.
==============
| OPTION 1: |
==============
1) Output to Customer File
Fields created automatically in SourceMate [TM] file during conversion:
with fields from which data is drawn in PROSPECT.DBF
Structure of ARCUS.DBF
Structure for database: ARCUS Corresponding fields in PROSPECT.DBF:
Structure for database: ARCUS.dbf
Number of data records: 0
Date of last update : 03/06/89
Field Field Name Type Width Dec
1 FCUSTNO Character 10 <==== created from PROSPECT field
2 FCOMPANY Character 35 <==== from PROSPECT field
3 FADDR1 Character 35 <==== from ADDRESS1 field
4 FADDR2 Character 35 <==== from ADDRESS2 field
5 FCITY Character 20 <==== from CITY field
6 FSTATE Character 15 <==== from STATE field
7 FZIP Character 10 <==== from ZIP field
* 8 FSADDR1 Character 35
* 9 FSADDR2 Character 35
* 10 FSCITY Character 20
* 11 FSSTATE Character 15
* 12 FSZIP Character 10
13 FCONTACT Character 30 <==== from FNAME + LNAME
14 FTITLE Character 10
15 FPHONE Character 17 <==== from PHONE_1 field
16 FPHONE2 Character 17
17 FTERM Character 12è 18 FARACC Character 14
19 FCCLASS Character 1
20 FSALESPN Character 5
21 FTERR Character 2
22 FINDUSTRY Character 2
23 FTAXCODE1 Character 2
24 FTAXCODE2 Character 2
25 FPAYTYPE Character 1
26 FPRICECD Numeric 2
27 FDISRATE Numeric 5 2
28 FTAXRATE1 Numeric 6 3
29 FTAXRATE2 Numeric 6 3
30 FCRLIMIT Numeric 14 2
31 FOPENCR Numeric 14 2
32 FBAL Numeric 14 2
33 FCURORDER Numeric 14 2
34 FATDSAMT Numeric 14 2
35 FYTDSAMT Numeric 14 2
36 FMTDSAMT Numeric 14 2
37 FQTDSAMT1 Numeric 14 2
38 FQTDSAMT2 Numeric 14 2
39 FLPAMT Numeric 14 2
40 FLPDATE Date 8
41 FNEWDATE Date 8
42 FACTIVE Logical 1
43 FDISCNT Logical 1
44 FFINCHG Logical 1
45 FMSHIP Logical 1
46 FLOCKED Logical 1
47 FRESALENO Character 16
48 FVSNO Character 22
49 FVSNAME Character 30
50 FVSEXPDATE Character 5
51 FMCNO Character 22
52 FMCNAME Character 30
53 FMCEXPDATE Character 5
54 FAENO Character 22
55 FAENAME Character 30
56 FAEEXPDATE Character 5
57 FCCNO Character 22
58 FCCNAME Character 30
59 FCCEXPDATE Character 5
** Total ** 815
* Note that all 'Ship to' and 'Bill to' addresses are assumed to be the same.
Logic behind creation of FCUSTNO field in SourceMate [TM] file:
two step process
Thσá prograφ firs⌠ look≤ t∩ seσ iµ yo⌡ havσ entereΣ thi≤ phrasσ int∩ eithe≥ ì
COMMENT▒ o≥ COMMENT2║á "CUSTNO='«á Iµ thi≤ codσ i≤ present¼á theε thσ teε ìècharacter≤ followinτ "CUSTNO=ó arσ placeΣ int∩ thσ correspondinτ SourceMatσ ì
[TM▌ record«
Secondly¼á thσá prograφá wil∞ creatσ ß fou≥ characte≥ codσ iε FCUSTN╧á tha⌠ ì
adhere≤ t∩ thσ followinτ logic:
1) The fourth character will be a '1'
2⌐á Thσ firs⌠ threσ character≤ wil∞ bσ takeε froφ thσ firs⌠ lette≥ oµá eacΦ ì
namσ froφ thσ compan∙ namσ o≥ PROSPEC╘ field.
3) The following articles are dropped from the company name during step 2:
A AN IN OR & THE OF FOR WITH
4⌐ Iµ thσ resultinτ word≤ iε thσ compan∙ namσ numbe≥ les≤ thaε 3¼ theε thσ ì
remaininτ character≤ arσ takeε a≤ needeΣ froφ thσ las⌠ completσ worΣ iε thσ ì
compan∙ name«
Examples:
[taken from test data]
FCUSTNO Company name:
ATS1 Accounting & Tax Service
ADD1 Addmaster/Marchant
FDS1 Fourcolor Data Systems
LLE1 Lolir Lectronics
MDC1 Micro Distribution Center
NAI1 North American Investment Corp.
PBO1 P.O. BOX
REV1 Rex Evilsizor
SEL1 Sabet Electronics
TCP1 Texas Commerce Plumbing
==============
| OPTION 2: |
==============
2) Additional selection criteria specific to SourceMate [TM]:
A⌠ thi≤ menu¼á yo⌡ caε ente≥ value≤ whicΦ wil∞ bσ placeΣ iε al∞ record≤ no≈ ì
beinτá outputteΣá t∩ thσ SourceMatσ [TM▌ custome≥ file«á Thesσ arσá field≤ ì
ove≥á anΣ beyonΣ thσ minima∞ field≤ beinτ createΣ iε eacΦá SourceMatσá [TM▌ ì
custome≥ record.
These optional fields are:
FTERM
FARACC
FCCLASS
FSALESPN
FTERR
FINDUSTRY
FTAXCODE1èFTAXCODE2
FPAYTYPE
FDISRATE
FTAXRATE1
FTAXRATE2
FCRLIMIT
FCURORDER
FDISCNT
FFINCHG